Crate swc_ecma_visit
source · [−]Macros
Note: Ignoring more types is not considered as a breaking change.
Note: Ignoring more types is not considered as a breaking change.
Note: Ignoring more types is not considered as a breaking change.
Structs
Visit all children nodes. This converts VisitAll
to Visit
. The type
parameter V
should implement VisitAll
and All<V>
implements Visit
.
Traits
Implemented for passes which inject variables.
Functions
The returned folder only handles fold_script
and fold_module
, and
typescript nodes are ignored. So if your visitor needs to handle typescript
or low-level nodes, you should use as_folder instead.
Returns a Fold
which changes all span into DUMMY_SP
.